<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>


<%@ taglib  prefix="c"   uri="http://java.sun.com/jsp/jstl/core"  %>


<c:if test="${  sessionScope.admin eq null   }">
	<span><a href="/WebDemo2/jsp/adminLogin.jsp">登陆</a></span>
</c:if>
<c:if test="${sessionScope.admin ne null  }">
	<div>欢迎您  ,  ${sessionScope.admin.name }   !!   <span><a href="servlet/AdminServlet?method=logout">注销</a></span></div>
</c:if>


